package com.crm.service;

import com.crm.entity.Svr;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface SvrService {
    public Page<Svr> findAll(String svrCustName, String svrTitle,String svrType, Pageable pageable);

    public Page<Svr> findAllByPage(String svrCustName,String svrDueTo, String svrTitle, Pageable pageable);

    public  Page<Svr> findByIdArchived(String svrCustName, String svrTitle,
                                       String svrType, Pageable pageable);

    public void del(Integer svrId);

    public void save(Svr svr);

    public Svr getServiceBySvrId(Integer svrId);
}
